package com.example.handsets8app.Bean;

import android.os.Parcel;
import android.os.Parcelable;

public class PeopleImformationBean implements Parcelable {
    private String certificateName;
    private String phoneNumber;
    private String certificateNo;


    public static final Creator<PeopleImformationBean> CREATOR = new Creator<PeopleImformationBean>() {
        @Override
        public PeopleImformationBean createFromParcel(Parcel in) {
            PeopleImformationBean peopleImformationBean = new PeopleImformationBean();
            peopleImformationBean.certificateName = in.readString();
            peopleImformationBean.phoneNumber = in.readString();
            peopleImformationBean.certificateNo = in.readString();
            return peopleImformationBean;
        }

        @Override
        public PeopleImformationBean[] newArray(int size) {
            return new PeopleImformationBean[size];
        }
    };

    public String getCertificateName() {
        return certificateName;
    }

    public void setCertificateName(String certificateName) {
        this.certificateName = certificateName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(certificateName);
        parcel.writeString(phoneNumber);
        parcel.writeString(certificateNo);

    }
}
